package com.activitycode.datamodel.model;

import java.io.Serializable;

import org.json.*;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="ZADUSERINFO")
public class UserInfo  implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -7341799278776631281L;
	@DatabaseField(id=true)
	public String user_id;
	@DatabaseField
	private String userName;
	@DatabaseField
    private String wechat;
	@DatabaseField
    private String province;
	@DatabaseField
    private String telephone;
	@DatabaseField
    private String sex;
	@DatabaseField
    private String fQq;
	@DatabaseField
    private String city;
	@DatabaseField
    private String fTip;
	@DatabaseField
    private String fCellphone;
	@DatabaseField
    private String town;
	@DatabaseField
    private String email;
	@DatabaseField
    private String fTelephone;
	@DatabaseField
    private String headImage;
	@DatabaseField
    private String tip;
	@DatabaseField
    private String fWeibo;
	@DatabaseField
    private String weibo;
	@DatabaseField
    private String nickName;
	@DatabaseField
    private String fAddress;
	@DatabaseField
    private String qq;
	@DatabaseField
    private String fLocation;
	@DatabaseField
    private String address;
	@DatabaseField
    private String fWechat;
	@DatabaseField
    private String starCount;
	@DatabaseField
    private String fansCount;
	@DatabaseField
    private String friendCount;
	@DatabaseField
    private String bg_image;
    
	public UserInfo () {
		
	}	
        
    public UserInfo (JSONObject json) {
    
        this.userName = json.optString("user_name");
        this.wechat = json.optString("wechat");
        this.province = json.optString("province");
        this.telephone = json.optString("telephone");
        this.sex = json.optString("sex");
        this.fQq = json.optString("f_qq");
        this.city = json.optString("city");
        this.fTip = json.optString("f_tip");
        this.fCellphone = json.optString("f_cellphone");
        this.town = json.optString("town");
        this.email = json.optString("email");
        this.fTelephone = json.optString("f_telephone");
        this.headImage = json.optString("head_image");
        this.tip = json.optString("tip");
        this.fWeibo = json.optString("f_weibo");
        this.weibo = json.optString("weibo");
        this.nickName = json.optString("nick_name");
        this.fAddress = json.optString("f_address");
        this.qq = json.optString("qq");
        this.fLocation = json.optString("f_location");
        this.address = json.optString("address");
        this.fWechat = json.optString("f_wechat");
        this.starCount = json.optString("star_count");
        this.fansCount = json.optString("fans_count");
        this.friendCount = json.optString("friend_count");
        this.bg_image = json.optString("bg_image");

    }

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getfQq() {
		return fQq;
	}

	public void setfQq(String fQq) {
		this.fQq = fQq;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getfTip() {
		return fTip;
	}

	public void setfTip(String fTip) {
		this.fTip = fTip;
	}

	public String getfCellphone() {
		return fCellphone;
	}

	public void setfCellphone(String fCellphone) {
		this.fCellphone = fCellphone;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getfTelephone() {
		return fTelephone;
	}

	public void setfTelephone(String fTelephone) {
		this.fTelephone = fTelephone;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public String getTip() {
		return tip;
	}

	public void setTip(String tip) {
		this.tip = tip;
	}

	public String getfWeibo() {
		return fWeibo;
	}

	public void setfWeibo(String fWeibo) {
		this.fWeibo = fWeibo;
	}

	public String getWeibo() {
		return weibo;
	}

	public void setWeibo(String weibo) {
		this.weibo = weibo;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getfAddress() {
		return fAddress;
	}

	public void setfAddress(String fAddress) {
		this.fAddress = fAddress;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getfLocation() {
		return fLocation;
	}

	public void setfLocation(String fLocation) {
		this.fLocation = fLocation;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getfWechat() {
		return fWechat;
	}

	public void setfWechat(String fWechat) {
		this.fWechat = fWechat;
	}

	public String getStarCount() {
		return starCount;
	}

	public void setStarCount(String starCount) {
		this.starCount = starCount;
	}

	public String getFansCount() {
		return fansCount;
	}

	public void setFansCount(String fansCount) {
		this.fansCount = fansCount;
	}

	public String getFriendCount() {
		return friendCount;
	}

	public void setFriendCount(String friendCount) {
		this.friendCount = friendCount;
	}

	public String getBg_image() {
		return bg_image;
	}

	public void setBg_image(String bg_image) {
		this.bg_image = bg_image;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
    
    
  

    
    
}
